<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="stylesheet" href="./css/font.css">
  <link rel="stylesheet" href="./css/xadmin.css">
  <link rel="stylesheet" href="./lib/layui/css/layui.css">
  <link rel="stylesheet" href="./css/cate.css">
  <script src="./lib/layui/layui.all.js" charset="utf-8"></script>
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">演示</a>
      <a>
        <cite>导航元素</cite></a>
    </span>
    <!-- <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a> -->
  </div>



  <div class="hezi" style="width: 100px; height: 120px; background-color: #fff; z-index: 999;">

    <a href="javascript:;">
      <div><input type="checkbox" name="ID" title="" checked> <span>分类ID</span></div>
    </a>
    <a href="javascript:;">
      <div><input type="checkbox" name="flmc" title="" checked> <span>分类名称</span></div>
    </a>
    <a href="javascript:;">
      <div><input type="checkbox" name="tb" title="" checked> <span>图标class</span></div>
    </a>
    <a href="javascript:;">
      <div><input type="checkbox" name="qz" title="" checked> <span>权重</span></div>
    </a>
  </div>


  <div class="layui-fluid">
    <form class="layui-form" action="">
      <!-- 标签名称 -->
      <div class="layui-form-item sousuo">
        <label class="layui-form-label ">分类名称</label>
        <div class="layui-input-block top">
          <input type="text"  name="title" required lay-verify="required" placeholder="请输入分类名称" autocomplete="off"
            class="layui-input">
        </div>
        <button type="button" class="layui-btn layui-btn-normal btn ss ">
          <i class="layui-icon layui-icon-search"></i> 搜索</button>
        <button type="reset" class="layui-btn layui-btn-primary btn cc">
          <i class="layui-icon layui-icon-refresh"></i>
          重置</button>
      </div>
      <!-- 新增导出 -->
      <!-- <div class="layui-btn-group group"> -->
      <div class="nr">
        <button type="button" class="layui-btn layui-btn-primary layui-border-blue xinzeng">
          <i class="layui-icon layui-icon-add-1"></i>

          新增
        </button>

        <button type="button" class="layui-btn layui-btn-primary layui-border-orange daochu" id="down">
          <i class="layui-icon layui-icon-ok"></i>
          导出
        </button>

        <div style="float: right; display: flex;" class="right">
          <a href="javascript:;">
            <div class="one"><i class="layui-icon layui-icon-down one_1" style="display: none;"></i>
              <i class="layui-icon layui-icon-up one_2"></i>
            </div>
          </a>

          <a href="javascript:;">
            <div class="tow">
              <i class="layui-icon layui-icon-refresh-1"></i>
            </div>
          </a>

          <a href="javascript:;">
            <div class="three">
              <i class="layui-icon layui-icon-app"></i>
            </div>
          </a>


        </div>
      </div>
      <!-- 表格内容区域 -->

      <table class="layui-table table" style="position: relative;">
        <colgroup>
          <col width="20">
          <col width="350">
          <col width="">
        </colgroup>
        <thead>
          <tr>
            <th>#</th>
            <th class="xxx">分类ID</th>
            <th class="yyy">分类名称</th>
            <th class="zzz">图标class</th>
            <th class="ccc">权重</th>
            <th class="qqq">操作</th>
          </tr>
        </thead>
        <tbody>
          <!-- <tr>
                <td>1</td>
                <td>4</td>
                <td>图片</td>
                <td>图标</td>
                <td>100</td>
                <td style="display:flex">
                  <button class="layui-btn layui-btn-sm layui-btn-radius layui-btn-normal">
                    <i class="layui-icon layui-icon-edit"></i>  
                  </button>
                  <button class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger">
                    <i class="layui-icon layui-icon-delete"></i>  
                  </button>
                </td>
              </tr> -->
        </tbody>
      </table>
    </form>

    <div id="page-box"></div>
  </div>


  <script type="text/html" id="form">
             <form class="layui-form" action="" lay-filter="formEdit" id="edit">
              <input type="hidden" name="id">
              <div class="layui-form-item">
                <label class="layui-form-label">分类名称</label>
                <div class="layui-input-block">
                  <input type="text" name="catename" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item  " >
                <label class="layui-form-label">图标class</label>
                <div class="layui-input-block tupian">
                  <input type="text" name="icon" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">

                  <button type="button" class="layui-btn zhuan" id="test1">
                   <a href="https://fontawesome.com.cn/v4/icons-ui/">具体参见fontawesome图标库</a>
                  </button>

                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">排序大小</label>
                <div class="layui-input-block">


                  <div class="tz">
                    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm jian">
                      <i class="layui-icon ">-</i>
                    </button>

                    <input type="text" name="sort_num" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">

                    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm jia">
                      <i class="layui-icon ">+</i>
                    </button>
                  </div>

                  
                  
                </div>
              </div>
            </form> 
          </script>

  <script type="text/html" id="addform">
            <form class="layui-form" action="" lay-filter="formEdit" id="add">
             <input type="hidden" name="id">
             <div class="layui-form-item">
               <label class="layui-form-label">分类名称</label>
               <div class="layui-input-block">
                 <input type="text" name="catename" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
               </div>
             </div>
             <div class="layui-form-item">
               <label class="layui-form-label">图标class</label>
               <div class="layui-input-block">
                 <input type="text" name="icon" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
               </div>
             </div>
             <div class="layui-form-item">
               <label class="layui-form-label">排序大小</label>
               <div class="layui-input-block">


                <div class="tz">
                  <button type="button" class="layui-btn layui-btn-primary layui-btn-sm jian">
                    <i class="layui-icon ">-</i>
                  </button>

                  <input type="text" name="sort_num" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">

                  <button type="button" class="layui-btn layui-btn-primary layui-btn-sm jia">
                    <i class="layui-icon ">+</i>
                  </button>
                </div>

                 
               </div>
             </div>
           </form> 
         </script>
</body>
<script src="https://cdn.bootcdn.net/ajax/libs/axios/1.3.4/axios.js"></script>
<script src="./js/jquery.min.js"></script>
<script src="./js/axios.min.js"></script>
<script src="./js/ajaxBase.js"></script>
<script src="./js/cate.js"></script>
<script>
</script>

</html>